package com.school.base.dao;

import java.util.List;

import com.school.base.model.Admin;

public interface IAdminDao {

	public Admin getAdminById(int id);

	public List<Admin> getAdminList(Admin admin, int offset, int pageSize);

	public int getTotalCount(Admin admin);

	public void updateAdmin(Admin admin);

	public boolean checkLoginName(String loginName, int adminId);

	public void deleteAdmin(int id);

	public Admin check(String loginName, String pwd) throws Exception;
	
	public void insertAdmin(Admin admin);
}
